package controller.link.game;

import view.client.Console;
import model.Hearer;
import java.io.Serializable;
import controller.Link;
import controller.link.RefreshGameData;
import model.Attendant;
import model.Server;

public class CancelHeal implements Link, Serializable {


    public CancelHeal() {
    }

    public CancelHeal(Hearer h) {
        h.send((Link) this);
    }

    @Override
    public void serverUse(Server server, Attendant at) {
        at.getWaiting().stop(at);
        RefreshGameData rgd = new RefreshGameData();
        rgd.serverUse(server, at);
    }

    @Override
    public void clientUse(Console console) {
    }
}
